UNPKG

nhfs

Version:

NHFS — A sleek HTTP file server for the web built with Next.js and HeroUI. (Alpha)

3 lines (2 loc) 12.4 kB
module.exports={225481:a=>{"use strict";a.s({Providers:()=>b});let b=(0,a.i(192214).registerClientReference)(function(){throw Error("Attempted to call Providers() from the server but Providers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/providers.tsx <module evaluation>","Providers")},523864:a=>{"use strict";a.s({Providers:()=>b});let b=(0,a.i(192214).registerClientReference)(function(){throw Error("Attempted to call Providers() from the server but Providers is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/app/providers.tsx","Providers")},623925:a=>{"use strict";a.i(225481);var b=a.i(523864);a.n(b)},247902:a=>{a.v({className:"inter_b35c0a41-module__Y0D1la__className",variable:"inter_b35c0a41-module__Y0D1la__variable"})},514703:a=>{a.v({className:"jetbrains_mono_3d7f4c85-module__-una7G__className",variable:"jetbrains_mono_3d7f4c85-module__-una7G__variable"})},665450:a=>{"use strict";a.s({Navbar:()=>c,NavbarBrand:()=>d,NavbarContent:()=>e,NavbarItem:()=>f,NavbarMenu:()=>g,NavbarMenuItem:()=>h,NavbarMenuToggle:()=>i,NavbarProvider:()=>j,useNavbar:()=>k,useNavbarContext:()=>l});var b=a.i(192214);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Navbar() from the server but Navbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","Navbar"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarBrand() from the server but NavbarBrand is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarBrand"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarContent() from the server but NavbarContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarContent"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarItem() from the server but NavbarItem is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarItem"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarMenu() from the server but NavbarMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarMenu"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarMenuItem() from the server but NavbarMenuItem is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarMenuItem"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarMenuToggle() from the server but NavbarMenuToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarMenuToggle"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarProvider() from the server but NavbarProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","NavbarProvider"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call useNavbar() from the server but useNavbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","useNavbar"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call useNavbarContext() from the server but useNavbarContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs <module evaluation>","useNavbarContext")},205066:a=>{"use strict";a.s({Navbar:()=>c,NavbarBrand:()=>d,NavbarContent:()=>e,NavbarItem:()=>f,NavbarMenu:()=>g,NavbarMenuItem:()=>h,NavbarMenuToggle:()=>i,NavbarProvider:()=>j,useNavbar:()=>k,useNavbarContext:()=>l});var b=a.i(192214);let c=(0,b.registerClientReference)(function(){throw Error("Attempted to call Navbar() from the server but Navbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","Navbar"),d=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarBrand() from the server but NavbarBrand is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarBrand"),e=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarContent() from the server but NavbarContent is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarContent"),f=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarItem() from the server but NavbarItem is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarItem"),g=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarMenu() from the server but NavbarMenu is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarMenu"),h=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarMenuItem() from the server but NavbarMenuItem is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarMenuItem"),i=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarMenuToggle() from the server but NavbarMenuToggle is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarMenuToggle"),j=(0,b.registerClientReference)(function(){throw Error("Attempted to call NavbarProvider() from the server but NavbarProvider is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","NavbarProvider"),k=(0,b.registerClientReference)(function(){throw Error("Attempted to call useNavbar() from the server but useNavbar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","useNavbar"),l=(0,b.registerClientReference)(function(){throw Error("Attempted to call useNavbarContext() from the server but useNavbarContext is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/node_modules/@heroui/navbar/dist/index.mjs","useNavbarContext")},23114:a=>{"use strict";a.i(665450);var b=a.i(205066);a.n(b)},772780:a=>{"use strict";a.s({ThemeSwitch:()=>b});let b=(0,a.i(192214).registerClientReference)(function(){throw Error("Attempted to call ThemeSwitch() from the server but ThemeSwitch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/theme-switch.tsx <module evaluation>","ThemeSwitch")},890630:a=>{"use strict";a.s({ThemeSwitch:()=>b});let b=(0,a.i(192214).registerClientReference)(function(){throw Error("Attempted to call ThemeSwitch() from the server but ThemeSwitch is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/components/theme-switch.tsx","ThemeSwitch")},748902:a=>{"use strict";a.i(772780);var b=a.i(890630);a.n(b)},435178:a=>{"use strict";a.s({default:()=>q,metadata:()=>o,viewport:()=>p},435178);var b=a.i(129629);let c=function(){for(var a,b,c=0,d="",e=arguments.length;c<e;c++)(a=arguments[c])&&(b=function a(b){var c,d,e="";if("string"==typeof b||"number"==typeof b)e+=b;else if("object"==typeof b)if(Array.isArray(b)){var f=b.length;for(c=0;c<f;c++)b[c]&&(d=a(b[c]))&&(e&&(e+=" "),e+=d)}else for(d in b)b[d]&&(e&&(e+=" "),e+=d);return e}(a))&&(d&&(d+=" "),d+=b);return d};var d=a.i(623925);let e={name:"NHFS",description:"NHFS — Next.js HTTP File Server. 📁 Upload. 📤 Download. 🌍 Access from anywhere."};var f=a.i(247902);let g={className:f.default.className,style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"}};null!=f.default.variable&&(g.variable=f.default.variable);var h=a.i(514703);let i={className:h.default.className,style:{fontFamily:"'JetBrains Mono', 'JetBrains Mono Fallback'",fontStyle:"normal"}};null!=h.default.variable&&(i.variable=h.default.variable);var j=a.i(23114),k=a.i(331055),l=a.i(748902),m=a.i(144805);let n=()=>(0,b.jsxs)(j.Navbar,{className:"lg:max-w-7xl",maxWidth:"full",position:"sticky",children:[(0,b.jsx)(j.NavbarContent,{className:"basis-1/5 sm:basis-full",justify:"start",children:(0,b.jsx)(j.NavbarBrand,{as:"li",className:"max-w-screen-lg gap-3",children:(0,b.jsxs)(k.default,{className:"flex items-center justify-start gap-1",href:"/",children:[(0,b.jsx)(m.Logo,{}),(0,b.jsx)("p",{className:"font-bold text-inherit",children:e.name})]})})}),(0,b.jsx)(j.NavbarContent,{justify:"end",children:(0,b.jsx)(l.ThemeSwitch,{})})]}),o={title:{default:e.name,template:`%s - ${e.name}`},description:e.description,icons:{icon:"/favicon.ico"}},p={themeColor:[{media:"(prefers-color-scheme: light)",color:"white"},{media:"(prefers-color-scheme: dark)",color:"black"}]};function q({children:a}){return(0,b.jsxs)("html",{suppressHydrationWarning:!0,className:"overflow-x-hidden",lang:"en",children:[(0,b.jsx)("head",{}),(0,b.jsx)("body",{className:c("w-screen bg-background font-sans text-foreground antialiased",g.variable,i.variable),children:(0,b.jsx)(d.Providers,{themeProps:{attribute:"class",defaultTheme:"system"},children:(0,b.jsxs)("div",{className:"relative m-0 flex h-screen w-screen flex-col items-center p-0 text-black dark:text-white",children:[(0,b.jsx)(n,{}),(0,b.jsx)("main",{className:"container flex-grow px-2 py-4 md:py-8",children:a})]})})})]})}}}; //# sourceMappingURL=%5Broot-of-the-server%5D__a859ee62._.js.map